><

Read Cookie



The Read Cookie action lets you retrieve information stored in a cookie at runtime. You can have your site read a cookie when your page loads, or when a viewer clicks on an item on your page.

To have the browser read the cookie when the page loads:

1 Drag the Head Action icon from the Smart tab of the Objects palette into the head section of the page.

2 Choose Read Cookie from the Variables submenu of the Action menu in the Action Inspector.

3 Enter the name of the cookie specified in the Write Cookie action in the Name text box.

To have the browser read a cookie when a viewer mouse-clicks on a specific item in your page:

1 Create a text link, image, rollover button, or form element.

2 In the Actions palette, add an action by selecting an item from the events list and clicking the + button on the Actions palette.

3 Choose Read Cookie from the Variables submenu of the Action menu.

4 Enter the name of the cookie specified in the Write Cookie action in the Name text box.


Using Actions > Using Adobe GoLive actions > Read Cookie